<template>
    <div>
        <el-row :gutter="24">
            <el-col :md="3" :sm="6">{{ $t('channel name') }}</el-col>
            <el-col :md="5" :sm="10">{{ $t('Segment length(s)') }}</el-col>
            <el-col :md="5" :sm="10">{{ $t('List length') }}</el-col>
            <el-col :md="5" :sm="10">{{ $t('Base url') }}</el-col>
            <el-col :md="5" :sm="10">{{ $t('Name format') }}</el-col>
        </el-row>
        <div v-for="(data, index) in dataList">
            <el-divider></el-divider>
            <el-row :gutter="24" style="margin-top:16px">
                <el-col :md="3" :sm="6">
                    <el-input v-model="data.name" :placeholder="$t('input_placeholder')"></el-input>
                </el-col>
                <el-col :md="5" :sm="10">
                    <el-input v-model="data.hls.hls_time" :placeholder="$t('input_placeholder')"></el-input>
                </el-col>
                <el-col :md="5" :sm="10">
                    <el-input v-model="data.hls.hls_list_size" :placeholder="$t('input_placeholder')"></el-input>
                </el-col>
                <el-col :md="5" :sm="10">
                    <el-input v-model="data.hls.hls_base_url" :placeholder="$t('input_placeholder')"></el-input>
                </el-col>
                <el-col :md="5" :sm="10">
                    <el-input v-model="data.hls.hls_filename" :placeholder="$t('input_placeholder')"></el-input>
                </el-col>
            </el-row>
        </div>
    </div>
</template>
  
<script setup name="video-stream">
const props = defineProps(['data'])
let dataList = ref([])
watchEffect(() => {
    dataList.value = props.data
})


</script>
  
<style scoped lang="scss">
.encode-setting {}
</style>
  
  